package tech.yuliu.dao;

import org.springframework.stereotype.Repository;
import tech.yuliu.bean.Word;

import java.util.List;

@Repository
public interface WordDao {
    List<Word> firstExtractWord(String category, Integer wordNumber);

    List<Word> extractUnlearnedWord(Integer userId, String category, Integer wordNumber);

    List<Word> selectWordByIdList(List<Integer> wordIdList);

    /**
     * @description: 提取数据库中的所有单词
     * @param: []
     * @return: java.util.List<tech.yuliu.bean.Word>
     * @author Yuliu
     * @date: 2022/4/29 14:26
     */
    List<Word> extractAllWord();
}
